package com.spider.demo7executorService;

import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;

public class ExecutorsDemo3 {
    public static void main(String[] args) {
        //目标：通过线程池工具类：Executors,调用其静态方法直接得到线程池
        ExecutorService pool = Executors.newFixedThreadPool(3);//创建一个固定大小的线程池

    }
}
